package com.dragon.www.smarthome.net;

/**
 * 通信包
 * Created by Administrator on 2015/11/23 10:32.
 * Author: songxy
 * Email: thinkdata@163.com
 */
public class AppPacket  {
	/**
	 * 头部
	 */
	private byte[] packetHeader;
	/**
	 * 类型
	 */
	private byte[] packetType;
	/**
	 * 数据域长度
	 */
	private byte[] packetLength;
	/**
	 * 数据域
	 */
	private byte[] packetData;
	/**
	 * 校验值
	 */
	private byte[] packetCS;
	/**
	 * 尾部
	 */
	private byte[] packetEnd;

	public byte[] getPacketHeader() {
		return packetHeader;
	}

	public void setPacketHeader(byte[] packetHeader) {
		this.packetHeader = packetHeader;
	}

	public byte[] getPacketType() {
		return packetType;
	}

	public void setPacketType(byte[] packetType) {
		this.packetType = packetType;
	}

	public byte[] getPacketLength() {
		return packetLength;
	}

	public void setPacketLength(byte[] packetLength) {
		this.packetLength = packetLength;
	}

	public byte[] getPacketData() {
		return packetData;
	}

	public void setPacketData(byte[] packetData) {
		this.packetData = packetData;
	}

	public byte[] getPacketCS() {
		return packetCS;
	}

	public void setPacketCS(byte[] packetCS) {
		this.packetCS = packetCS;
	}

	public byte[] getPacketEnd() {
		return packetEnd;
	}

	public void setPacketEnd(byte[] packetEnd) {
		this.packetEnd = packetEnd;
	}
}
